const state = {
    menus: [],
    opendMenus: []
}

const mutations = {
    SET_MENUS: (state, { menus }) => {
        state.menus = menus
    },
    SET_OPEN_MENUS: (state, opendMenus) => {
        state.opendMenus = opendMenus
    }
}

export default {
    namespaced: true,
    state,
    mutations
}
